﻿<UserControl x:Class="SLVisifireApp.Column2D2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="500" Height="300" xmlns:vc="clr-namespace:Visifire.Charts;assembly=SLVisifire.Charts">
    <Grid x:Name="LayoutRoot" Background="White">
        <vc:Chart Theme="Theme2" BorderBrush="Gray">

            <vc:Chart.Titles>
                <vc:Title Text="Olympics Gold Medals Won By USA"/>
            </vc:Chart.Titles>
            <vc:Chart.AxesX>
                <vc:Axis Interval="1" Title="Year" TitleFontSize="12">
                    <vc:Axis.AxisLabels>
                        <vc:AxisLabels Rows="2"/>
                    </vc:Axis.AxisLabels>
                </vc:Axis>
            </vc:Chart.AxesX>
            <vc:Chart.AxesY>
                <vc:Axis Title="Gold Medals Won" TitleFontSize="12"/>
            </vc:Chart.AxesY>

            <vc:Chart.Series>
                <vc:DataSeries RenderAs="Column" LabelEnabled="True" Bevel="True" Cursor="Hand">
                    <vc:DataSeries.DataPoints>
                        <vc:DataPoint AxisXLabel="2008" YValue="40"/>
                        <vc:DataPoint AxisXLabel="2004" YValue="35"/>
                        <vc:DataPoint AxisXLabel="2000" YValue="40"/>
                        <vc:DataPoint AxisXLabel="1996" YValue="44"/>
                        <vc:DataPoint AxisXLabel="1992" YValue="37"/>
                        <vc:DataPoint AxisXLabel="1988" YValue="36"/>
                        <vc:DataPoint AxisXLabel="1984" YValue="83"/>
                        <vc:DataPoint AxisXLabel="1980" YValue="0" LabelText="Absent"/>
                        <vc:DataPoint AxisXLabel="1976" YValue="34"/>
                        <vc:DataPoint AxisXLabel="1972" YValue="33"/>
                        <vc:DataPoint AxisXLabel="1968" YValue="45"/>
                        <vc:DataPoint AxisXLabel="1964" YValue="36"/>
                        <vc:DataPoint AxisXLabel="1960" YValue="34"/>
                        <vc:DataPoint AxisXLabel="1956" YValue="32"/>
                        <vc:DataPoint AxisXLabel="1952" YValue="28"/>
                        <vc:DataPoint AxisXLabel="1948" YValue="22"/>
                        <vc:DataPoint AxisXLabel="1944" YValue="12"/>
                        <vc:DataPoint AxisXLabel="1940" YValue="13"/>
                        <vc:DataPoint AxisXLabel="1936" YValue="15"/>
                        <vc:DataPoint AxisXLabel="1932" YValue="8"/>
                        <vc:DataPoint AxisXLabel="1928" YValue="9"/>
                        <vc:DataPoint AxisXLabel="1924" YValue="11"/>
                        <vc:DataPoint AxisXLabel="1920" YValue="16"/>
                        <vc:DataPoint AxisXLabel="1916" YValue="15"/>
                        <vc:DataPoint AxisXLabel="1912" YValue="11"/>
                        <vc:DataPoint AxisXLabel="1908" YValue="8"/>
                        <vc:DataPoint AxisXLabel="1904" YValue="9"/>
                        <vc:DataPoint AxisXLabel="1900" YValue="6"/>
                        <vc:DataPoint AxisXLabel="1896" YValue="4"/>
                        <vc:DataPoint AxisXLabel="1892" YValue="2"/>
                        <vc:DataPoint AxisXLabel="1888" YValue="4"/>
                        <vc:DataPoint AxisXLabel="1884" YValue="7"/>
                        <vc:DataPoint AxisXLabel="1880" YValue="3"/>
                    </vc:DataSeries.DataPoints>
                </vc:DataSeries>
            </vc:Chart.Series>
        </vc:Chart>
        
    </Grid>
</UserControl>
